package com.example.qqemailtest.listener;

import com.example.qqemailtest.bean.User;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;
import org.springframework.stereotype.Component;
@Setter
@Getter
@ToString
public class RegisteryListenerEvent extends ApplicationEvent {
    private User user;
    public RegisteryListenerEvent(Object source, User user) {
        super(source);
        this.user=user;
    }







}
